package commonUtils.entities;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class Blog {
    private Long id;
    @TableField(value = "user_id" )
    private Long userId;
    private String photo;
    private String title;
    private String text;
    private LocalDateTime createTime;
    @TableField(value = "like_count")
    private String likeCount;
    @TableField(value = "comment_id")
    private Long commentId;
    @TableField(value = "is_lock")
    private Integer isLock;


}
